package com.tencent.examples.blueking.mysql.model;

import com.tencent.examples.blueking.mysql.extend.biz.SuperClassEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * 导航栏表（根据登录人不同保存的设置也不同）
 */
@Entity
@Table(name = "bk_save_navigation_bar")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BkSaveNavigationBar extends SuperClassEntity<BkSaveNavigationBar> {

    //登录人名称
    private String bk_userName;

    //模块名称
    private String bk_obj_id;

    //已选择展示列
    @Column(columnDefinition = "longtext")
    private String displayColumn;

}
